package com.lhys.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 资产表
 * </p>
 *
 * @author 小七
 * @since 2021-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Asset对象", description="资产表")
public class Asset implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    @ApiModelProperty(value = "资产用户id,关联表asset_user的id")
    private Integer assetUserId;

    @ApiModelProperty(value = "资产名称")
    private String title;

    @ApiModelProperty(value = "资产存放处，关联表asset_storage的id")
    private Integer assetStorageId;

    @ApiModelProperty(value = "资产供应商，关联表asset_provider的id")
    private Integer assetProviderId;

    @ApiModelProperty(value = "资产类别,asset_category表id")
    private Integer assetCategoryId;

    @ApiModelProperty(value = "资产品牌，asset_brand表id")
    private Integer assetBrandId;

    @ApiModelProperty(value = "状态 1-使用/借出 2-未使用(默认) 3-报废")
    private Integer status;

    @ApiModelProperty(value = "资产使用部门id,关联表asset_depart的id")
    private Integer assetDepartId;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;


}
